package com.sgl.gk.mapper;


import com.sgl.gk.controller.vo.GkSparePartsVo;
import com.sgl.gk.controller.vo.ReworkVo;
import com.sgl.gk.domain.GkSpareParts;

import java.util.List;

public interface GkSparePartsMapper {
    List<GkSparePartsVo> selectInfoByProductIds(List<Long> productIds);

    int save(GkSpareParts gkSpareParts);

    List<GkSpareParts> selectInfoByBeforePartCode(ReworkVo reworkVo);

    Long countBySparePartsCode(ReworkVo reworkVo);
}
